Retrospective evaluation of amalgam and composite restorations